from sqlalchemy.orm import Session

from app.models.region import Region


def region_tree(db: Session) -> list[Region]:
    """获取省市区"""
    region_list = db.query(Region).all()
    
    return region_list
